math.randomseed(tostring(os.time()):reverse():sub(1,7))
--                                  FangZhuang ZiChuan
n={}
for i=1,10 do
	n[i]=math.random(1,10000000)*0.01
	print('n' .. i .. '=' .. n[i])
end
io.write('\n\n\n\n\n')
for i=1,10 do
	a=n[i]
	for j=i,10 do
		if(a<n[j]) then
			a=n[j]
			indes=j
		end
	end
n[indes]=n[i]
n[i]=a
end

for i=1,10 do
	print('n[' .. i .. ']=' .. n[i])
end
